*{margin:0;padding:0;box-sizing:border-box;font-family:'Inter',sans-serif}
body{display:flex;
  background:#f4f6fa;
 height:100vh;
  overflow:hidden;}

.sidebar{
  width:260px;background:#fff;height:100vh;border-right:1px solid #eee;
  padding:20px 15px;overflow-y:auto;
}
.logo{display:flex;align-items:center;gap:10px;font-weight:600;font-size:18px;margin-bottom:20px}
.logo span{color:#ff3b5c}
.menu-title{font-size:11px;color:#999;margin:15px 10px}
.menu-item{display:flex;align-items:center;justify-content:space-between;padding:10px;border-radius:8px;margin-bottom:5px;cursor:pointer}
.menu-item:hover{background:#f1f3f7}
.menu-left{display:flex;align-items:center;gap:10px}
.submenu{margin-left:25px;display:block}
.submenu a{display:block;padding:8px 10px;border-radius:6px;color:#555;text-decoration:none}
.submenu a.active{background:#eef3ff;color:#3b5cff}

.main{flex:1;display:flex;
  flex-direction:column;
  height:100vh}

.topbar{height:65px; 
  background:#fff;
  border-bottom:1px solid #eee;
  display:flex;align-items:center;
  justify-content:space-between;
  padding:0 20px;
   position:sticky;
  top:0;
  z-index:10;
}
.nav-links a{margin-right:20px;text-decoration:none;color:#333;font-size:14px}
.right-icons{display:flex;align-items:center;gap:15px}
.avatar{width:35px;height:35px;border-radius:50%;border:2px solid #00c853}

.content{padding:25px;
   overflow-y:auto;
  flex:1}
.header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}
.header h2{font-size:22px}
.header p{color:#777;font-size:13px}
.btn{padding:8px 14px;border:1px solid #ddd;border-radius:8px;background:#fff;cursor:pointer}

/* Big dashboard grey box */
.dashboard-box{
  width:100%;
  height:900px;
  background:#e9ecef;
  border-radius:12px;
}

/* Footer */
.footer{
  background:#fff;
  border-top:1px solid #eee;
  padding:15px 25px;
  display:flex;
  justify-content:space-between;
  font-size:13px;
  color:#555;
  margin-top:40px;
}
.footer-links a{
  margin-left:15px;
  text-decoration:none;
  color:#555;
}


/* === Global Responsive Boilerplate === */
.menu-toggle{display:none;font-size:20px;cursor:pointer;color:#555;}
.mobile-logo{display:none;}
.nav-link-toggle{display:none;font-size:20px;cursor:pointer;color:#555;}

@media(max-width:900px){
  .sidebar{position:fixed;left:-260px;top:0;z-index:1000;transition:.3s;height:100vh;box-shadow:5px 0 15px rgba(0,0,0,0.1);}
  .sidebar.active{left:0}
  
  .topbar {
    height: 65px !important;
    padding: 0 15px !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative;
    box-sizing: border-box;
  }
  
  .topbar > div:first-child {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .mobile-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff3b5c;
    font-weight: 700;
    font-size: 20px;
  }

  .menu-toggle{display:block}
  .nav-link-toggle{display:block}
  
  .nav-links {
    display: none;
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    z-index: 999;
    padding: 10px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 12px 20px;
    border-bottom: 1px solid #f1f3f7;
    margin: 0;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav-links a:not(:first-child)::after {
    content: '\f067';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #999;
    font-size: 10px;
  }

  .header {
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    padding-bottom: 10px;
  }
  
  .header h2 {
    font-size: 18px !important;
  }

  .content, .main-content { padding: 15px !important; }
}

